//
//  SLApp.h
//  SLAdingo
//
//  Created by 徐 廷 on 10/04/01.
//  Copyright 2010 adingo Inc. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <CoreLocation/CoreLocation.h>

#ifndef __SLAPP_H__
#define __SLAPP_H__

typedef enum{
	//TODO: Here we need to rename these options to make it more human readable.
	op_01				= 1,
	op_02				= 1 << 1,
	op_03				= 1 << 2,
	op_04				= 1 << 3,
	op_05				= 1 << 4,
	op_06				= 1 << 5,
	op_07				= 1 << 6,
	op_08				= 1 << 7,
	op_09				= 1 << 8,
	op_10				= 1 << 9,
	op_11				= 1 << 10,
	op_12				= 1 << 11,
	op_13				= 1 << 12,
	op_14				= 1 << 13,
	op_15				= 1 << 14,
	op_16				= 1 << 15,
	op_17				= 1 << 16,
	op_18				= 1 << 17,
	op_19				= 1 << 18,
	op_20				= 1 << 19,
	op_21				= 1 << 20,
	op_22				= 1 << 21,
	op_23				= 1 << 22,
	op_24				= 1 << 23,
	op_25				= 1 << 24,
	op_26				= 1 << 25,
	op_27				= 1 << 26,
	op_28				= 1 << 27,
	op_29				= 1 << 28,
	op_30				= 1 << 29,
	op_31				= 1 << 30,
	op_32				= 1 << 31
} BooleanOptions;


@interface SLApp : NSObject {

}

+ (NSString *) getDocumentFolder;
+ (NSString *) getTempFolder;
+ (NSString *) getLibraryFolder;
+ (NSString *) getCacheFolder;
+ (NSString *) getDownloadFolder;
+ (NSString *) getBundleDirectory;

+ (CLLocationCoordinate2D) getTokyoCenterLocation;

#pragma mark -
#pragma mark Bitwise Option Operations

+ (BOOL) isOptionSet:(BooleanOptions)anOption inProperty:(UInt32)aProperty;
+ (UInt32) setOption:(BooleanOptions)anOption onOff:(BOOL)onOrOff inProperty:(UInt32)aProperty;

@end

#endif